package edu.sctu.nieyu.day20150506.peoplesmessage;

import edu.sctu.nieyu.day20150506.peoplesmessage.Input;
import edu.sctu.nieyu.day20150506.peoplesmessage.Interf;

/**
 * Created by user01 on 2015/5/6.
 */
public class Output {
    public static void main(String[] args) {
        new Input().getInfor(new Interf() {
            @Override
            public void getMessage(String name, int age, String sex) {
                System.out.println("姓名："+name+"\n" +"年龄:"+age+"\n"+"性别："+sex);
            }
        });
    }

}
